<?php

namespace app\api\controller;

use app\common\controller\Api;


/**
 * 积分记录接口
 */
class Score extends Api
{

    protected $noNeedLogin = [];
    protected $noNeedRight = ['*'];

    public function _initialize()
    {
        parent::_initialize();
        $this->model = new \app\common\model\ScoreLog();

    }

    public function index(){

        $this->limitFields = "id,score,after,memo,createtime";
        parent::index();
    }




}